#include <stdio.h>

int main(){
    char buf[512];
    printf("buf[0] %c\n", buf[0]);
    char *p;
    p = buf;
    *p++ = 'a';
    printf("buf[0] %c\n", buf[0]);
    printf("buf[1] %c\n", buf[2]);
    printf("buf[2] %c\n", buf[1]);
    printf("%d\n", buf);
    printf("%d\n", p);
    return 0;
}